<html>
    <head>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/turbolinks/5.2.0/turbolinks.js" integrity="sha256-iM4Yzi/zLj/IshPWMC1IluRxTtRjMqjPGd97TZ9yYpU=" crossorigin="anonymous"></script>
        <script src="/dist/alpine.js" defer></script>
    </head>
    <body>
        <h1>Second Page</h1>

        <div x-data="{ foo: 'bar' }" id="foo" data-turbolinks-permanent>
            <input x-model="foo"></input>

            <button x-on:click="foo = 'baz'"></button>
        </div>
    </body>
</html>
